home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / applications / wp / dvi2lj.lha / makefile < prev    next >
Encoding:
Makefile  |  1995-02-14  |  2.4 KB  |  95 lines

  1. # makefile for dvixx
  2. # For the SAS/C 6.51 compiler for the Amiga.
  3. # All compiler options are in the SCOPTIONS file; see README.amiga if
  4. # you can't find the SCOPTIONS file
  5. #
  6. # Peter A. Henning, Theoretical Physics, 
  7. #                   Gesellschaft fuer Schwerionenforschung 
  8. #                   P.Henning@gsi.de
  9. #
  10.  
  11. OBJS=findlj.o find3812.o
  12. HFILES=commands.h config.h
  13. PROGRAMS=dvilj2p dvilj2 dvilj4 dvi3812 dvilj dviljp
  14.  
  15. LFLAGS=SMALLCODE SMALLDATA NODEBUG NOICONS FROM LIB:c.o
  16.  
  17. #Uncomment these lines for FPU support
  18. #LLIBS=LIB LIB:scm881.lib LIB:sc.lib LIB:amiga.lib
  19. #ASMFLAG = -m2
  20.  
  21. #Uncomment these lines for standard math support
  22. LLIBS=LIB LIB:scmieee.lib LIB:sc.lib LIB:amiga.lib
  23. ASMFLAG=
  24.  
  25. #Uncomment this line to make the other types of program
  26. #all: $(PROGRAMS)
  27.  
  28. all: dvi2lj
  29.  
  30. dvi2lj: dvi2xx.o findlj.o copypsfile.o postasm.o
  31.     $(LD) $(LFLAGS) dvi2xx.o findlj.o copypsfile.o postasm.o TO $@ ${LLIBS}
  32.  
  33. dvi3812: dvi3812.o find3812.o
  34.     $(LD) $(LFLAGS) dvi3812.o find3812.o TO $@ ${LLIBS}
  35.  
  36. dvilj2p: dvilj2p.o findlj.o
  37.     $(LD) $(LFLAGS) dvilj2p.o findlj.o TO $@ ${LLIBS}
  38.  
  39. dvilj2: dvilj2.o findlj.o
  40.     $(LD) $(LFLAGS) dvilj2.o findlj.o TO $@ ${LLIBS}
  41.  
  42. dvilj4: dvilj4.o findlj4.o tfm.o xmalloc.o
  43.     $(LD) $(LFLAGS) dvilj4.o findlj4.o tfm.o xmalloc.o TO $@ ${LLIBS}
  44.  
  45. dvilj: dvilj.o findlj.o
  46.     $(LD) $(LFLAGS) dvilj.o findlj.o TO $@ ${LLIBS}
  47.  
  48. dviljp: dviljp.o findlj.o
  49.     $(LD) $(LFLAGS) dviljp.o findlj.o TO $@ ${LLIBS}
  50.  
  51.  
  52. dvi2xx.o: dvi2xx.c $(HFILES)
  53.     $(CC) DEFINE LJ2P dvi2xx.c OBJNAME $@
  54.  
  55. dvi3812.o: dvi2xx.c $(HFILES)
  56.     $(CC) DEFINE IBM3812 dvi2xx.c OBJNAME $@
  57.  
  58. dvilj2p.o: dvi2xx.c $(HFILES)
  59.     $(CC) DEFINE LJ2P dvi2xx.c OBJNAME $@
  60.  
  61. dvilj2.o: dvi2xx.c $(HFILES)
  62.     $(CC) DEFINE LJ2 dvi2xx.c OBJNAME $@
  63.  
  64. dvilj4.o: dvi2xx.c $(HFILES)
  65.     $(CC) DEFINE LJ4 dvi2xx.c OBJNAME $@
  66.  
  67. dvilj.o: dvi2xx.c $(HFILES)
  68.     $(CC) DEFINE LJ DEFINE SEVENBIT dvi2xx.c OBJNAME $@
  69.  
  70. dviljp.o: dvi2xx.c $(HFILES)
  71.     $(CC) DEFINE LJ2P DEFINE SEVENBIT dvi2xx.c OBJNAME $@
  72.  
  73.  
  74.  
  75. findlj.o: findfile.c config.h
  76.     $(CC) DEFINE LJ findfile.c OBJNAME $@
  77.  
  78. findlj4.o: findfile.c config.h
  79.     $(CC) DEFINE LJ4 findfile.c OBJNAME $@
  80.  
  81. find3812.o: findfile.c config.h
  82.     $(CC) DEFINE IBM3812 findfile.c OBJNAME $@
  83.  
  84. tfm.o: tfm.c
  85.     $(CC) DEFINE LJ tfm.c OBJNAME $@
  86.  
  87. dospecial.o: dospecial.c
  88.     $(CC) DEFINE LJ dospecial.c OBJNAME $@
  89.  
  90. copypsfile.o: copypsfile.c
  91.     $(CC) CPU=ANY DEFINE LJ copypsfile.c OBJNAME $@
  92.  
  93. postasm.o:      postasm.a
  94.         asm -u $(ASMFLAG) -iinclude: postasm.a
  95.